package com.xbongbong.pro.payplan.pojo.dto;

import com.xbongbong.paas.toolbox.wrap.BaseDTO;
import com.xbongbong.paas.toolbox.wrap.QueryIgnore;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

import javax.validation.constraints.NotNull;
import java.util.List;

/**
 * @author: wufeng
 * @date: 2018/9/6 15:24
 * @desrcption: 表单数据删除
 */
@Getter
@Setter
@ToString
public class PayPlanDeleteBatchDTO extends BaseDTO {

    private static final long serialVersionUID = 890245517899327058L;

    @NotNull(message = "{dto.msg.payPlanDeleteBatch.dataIdList.NotNull}")
    private List<Long> dataIdList;

    /**
     * 状态
     */
    private String status;

    /**
     * 1 为单个删除 0 为 批量删除 其他情况默认批量删除处理
     */
    private Integer singleFlag;
    /**
     * 是否是从业务规则来的 1：是
     */
    @Getter(onMethod_ = {@QueryIgnore})
    private Integer isBusinessRule;

}
